<#macro form_input
	l=""  label=""
	id="" name=""
	val=""  	value="" 
	r=false		required=false <!-- required 定义为必填字段 -->
	p=""		placeholder="" <!-- 在输入框显示提示消息 -->
	readonly=false <!-- 定义是否将该控件设为只读。 -->
	t="text"
	style="" <!-- css样式 -->
	class=""
	formGroupDivId=""
>
<div class="form-group"<#if formGroupDivId != ""> id="${formGroupDivId}" </#if>>
	<label class="col-sm-3 control-label no-padding-right" <#if id != ""> for="${id}" </#if>> ${l!}${label!} </label>
	<div class="col-sm-9">
		<div class="clearfix">
			<input value="${val!}${value!}" type="${t}" class="col-xs-10 col-sm-6 ${class}" autocomplete="off" 
			<#if id != ""> id="${id}"</#if>
			<#if name != ""> name="${name}"</#if> 
			<#if placeholder != "" || p!=""> placeholder="${placeholder!}${p!}" </#if> 
			<#if required || r> required </#if> 
			<#if style != ""> style="${style}"</#if> 
			<#if readonly> readonly="readonly" </#if>
			/>
		</div>
	</div>
</div>
</#macro>